﻿using Cjj.Exam.Localization;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;

namespace Cjj.Exam;

[DependsOn(
    typeof(ExamApplicationContractsModule)
    )]
public class ExamHttpApiModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        ConfigureLocalization();
    }

    private void ConfigureLocalization()
    {
        Configure<AbpLocalizationOptions>(options =>
        {
            //options.Resources
            //    .Get<ExamResource>()
            //    .AddBaseTypes(
            //        typeof(AbpUiResource)
            //    );
        });
    }
}
